package com.woniuxy.homepage.client;


import com.woniuxy.common.CommonResult;
import com.woniuxy.homepage.client.dto.OrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Date: 2021/6/30:9:44  <br/>
 * Description:调用个人中心接口
 */
@FeignClient(name = "personal-service")
public interface PersonalServiceFeignClient {


    @PostMapping("/order/create")
    CommonResult createOrder(@RequestBody OrderDto orderDto);
}
